class C {
  private void foo1() {
  }

  <selection>private void foo2() {<caret>
  }</selection>
}